<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<html>
  <head>
  	<title>用户信息修改</title>
	<link type="text/css" href="/inc/css/sty_css.css"rel="stylesheet"></link>
    <script type='text/javascript' src='/inc/js/jquery-1.4.3.min.js'></script>
  </head>
<body> 
<div id="page">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>		
<td width="100%" valign="top">
<div class="right_silder" id="right_silder">
	<!-- right begin-->
	
	<div class="cont_detail">
	<!-- 添加 begin-->
	<form id="form" action="/user/save.do" method="post">
		<div class="commontitle2"> <ul class="add_area"> <li> <label> 用户名： </label> <input name="name" type="text" value="${user.name}" size="35" />  </li> </ul> </div>
		<div class="commontitle2"> <ul class="add_area"> <li> <label> 密&nbsp;&nbsp;&nbsp;码： </label> <input name="password" id="password" value='${user.name}' type="text" size="35" /> </li> </ul> </div>
		<div class="commontitle2"> <ul class="add_area"> <li> <label> 用户类型： </label> 
			<select name="user_type">
		      <option value="1" <c:if test="${user.user_type==1}">selected="selected" </c:if> >超级管理员</option>
		      <option value="2" <c:if test="${user.user_type==2}">selected="selected"</c:if> >提供商用户</option>
		      <option value="3" <c:if test="${user.user_type==3}">selected="selected"</c:if> >渠道管理员</option>
		      
		   </select> 
		</li> </ul> </div>
		<div class="savebut2" style="padding-left: 90px;">
			<a href="#" onclick="update();">确&nbsp;&nbsp;&nbsp;定</a>
		</div>
        <input name="id" type="hidden" value="${user.id}" />
	</form>
	<!-- 添加 end-->
</div>

<!-- 列表内容 begin-->
	<div style="width:100%; float:left;" id="DataContext"></div>
<!-- 列表 end-->
</div>
</td>
		</tr>
	</table>
</div>
</body>
<script type="text/javascript">
function update(){
	document.getElementById("form").submit();
}
</script>
</html>
